package com.woniuxy.cloud.carl.carlstation.infra.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Lucas
 * @since 2023-07-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_after_sale")
public class AfterSale implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 售后id
     */
    @TableId(value = "after_sale_id", type = IdType.AUTO)
    private Long afterSaleId;

    /**
     * 订单项目id
     */
    private Long orderItemId;

    /**
     * 关联店铺id
     */
    private Long storeId;

    /**
     * 售后类型 1.仅退款 2.投诉3.换货4.退货退款
     */
    private Integer afterSaleType;

    /**
     * 发起人id
     */
    private Long userId;

    /**
     * 处理人
     */
    private Long handlerId;

    /**
     * 发起时间
     */
    private Date createTime;

    /**
     * 售后原因
     */
    private String reason;

    /**
     * 售后处理结果
     */
    private String handleResult;

    /**
     * 1.待处理2.处理中3.处理完毕
     */
    private Integer state;


}
